package com.zjitc.model;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/4/26 15:09
 * @description:
 */
public class Product {

  private int pid;
  private String pname;
  private String describe;//描述
  private int price;
  private String image;
  private String counts;
  private String type;

  public Product() {
  }

  public Product(int pid, String pname, String describe, int price, String image, String counts, String type) {
    this.pid = pid;
    this.pname = pname;
    this.describe = describe;
    this.price = price;
    this.image = image;
    this.counts = counts;
    this.type = type;
  }

  public int getPid() {
    return pid;
  }

  public void setPid(int pid) {
    this.pid = pid;
  }

  public String getPname() {
    return pname;
  }

  public void setPname(String pname) {
    this.pname = pname;
  }

  public String getDescribe() {
    return describe;
  }

  public void setDescribe(String describe) {
    this.describe = describe;
  }

  public int getPrice() {
    return price;
  }

  public void setPrice(int price) {
    this.price = price;
  }

  public String getImage() {
    return image;
  }

  public void setImage(String image) {
    this.image = image;
  }

  public String getCounts() {
    return counts;
  }

  public void setCounts(String counts) {
    this.counts = counts;
  }

  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }

  @Override
  public String toString() {
    return "Product{" +
        "pid=" + pid +
        ", pname='" + pname + '\'' +
        ", describe='" + describe + '\'' +
        ", price='" + price + '\'' +
        ", image='" + image + '\'' +
        ", counts='" + counts + '\'' +
        ", type='" + type + '\'' +
        '}';
  }

}
